package com.aaa.tmr.util;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author ：Marko
 * @date ：Created in 2021/3/23 22:28
 * @description ：spring boot读取OSSproperty
 * @modified By：
 * @version:
 */
@Data
@Component
@PropertySource("classpath:project.properties")
@ConfigurationProperties(prefix = "oss")
public class OssProperty {
    private String endpoint;
    private String url;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;
}
